From 7bba4828900638795851a595ce3b5ef442630417 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Thu, 15 Feb 2018 18:08:18 +0000 Subject: [PATCH] Apply parts of previous usbip format overflow patch that still apply. --- tools/usb/usbip/libsrc/usbip_host_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/usb/usbip/libsrc/usbip_host_common.c b/tools/usb/usbip/libsrc/usbip_host_common.c index 6ff7b601f854..7cc43384f4d1 100644 --- a/tools/usb/usbip/libsrc/usbip_host_common.c +++ b/tools/usb/usbip/libsrc/usbip_host_common.c @@ -21,6 +21,9 @@ * along with this program. If not, see . */ +#pragma GCC diagnostic warning "-Wpragmas" +#pragma GCC diagnostic warning "-Wformat-truncation" + #include #include #include -- 2.30.2